/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ssi.mrms.model;

import java.io.Serializable;

/**
 *
 * @author jirapatjantsakool
 */
public class RMrmlstModel extends BaseModel implements Serializable {
    private static final long serialVersionUID = 1L;
    private Integer rlrmid;
    private String rlsttower;
    private String rlstfloor;
    private String rlstunitno;
    private String rlstaddr;
    private String rlsttype;
    
	private RMrmownModel ownModel;
	private RMrmtntModel tntModel;

	public RMrmtntModel getTntModel() {
		return tntModel;
	}

	public void setTntModel(RMrmtntModel tntModel) {
		this.tntModel = tntModel;
	}

	public RMrmownModel getOwnModel() {
		return ownModel;
	}

	public void setOwnModel(RMrmownModel ownModel) {
		this.ownModel = ownModel;
	}

	public RMrmlstModel() {
    }

    public RMrmlstModel(Integer rlrmid) {
        this.rlrmid = rlrmid;
    }

    public Integer getRlrmid() {
        return rlrmid;
    }

    public void setRlrmid(Integer rlrmid) {
        this.rlrmid = rlrmid;
    }

    public String getRlsttower() {
        return rlsttower;
    }

    public void setRlsttower(String rlsttower) {
        this.rlsttower = rlsttower;
    }

    public String getRlstfloor() {
        return rlstfloor;
    }

    public void setRlstfloor(String rlstfloor) {
        this.rlstfloor = rlstfloor;
    }

    public String getRlstunitno() {
        return rlstunitno;
    }

    public void setRlstunitno(String rlstunitno) {
        this.rlstunitno = rlstunitno;
    }

    public String getRlstaddr() {
        return rlstaddr;
    }

    public void setRlstaddr(String rlstaddr) {
        this.rlstaddr = rlstaddr;
    }

    public String getRlsttype() {
        return rlsttype;
    }

    public void setRlsttype(String rlsttype) {
        this.rlsttype = rlsttype;
    }

	@Override
	public String toString() {
		return "RMrmlstModel [rlrmid=" + rlrmid + ", rlsttower=" + rlsttower
				+ ", rlstfloor=" + rlstfloor + ", rlstunitno=" + rlstunitno
				+ ", rlstaddr=" + rlstaddr + ", rlsttype=" + rlsttype
				+ ", ownModel=" + ownModel + ", tntModel=" + tntModel
				+ ", getTntModel()=" + getTntModel() + ", getOwnModel()="
				+ getOwnModel() + "]";
	}

}
